package cn.lyd.user.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import cn.lyd.base.domain.BaseDomain;
import cn.lyd.org.domain.Shop;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author lyd
 * @since 2022-12-30
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Logininfo extends BaseDomain implements Serializable {


    private String username;
    private String phone;
    private String email;
    private String salt;
    private String password;
    /**
     * 类型 - 0管理员，1用户
     */
    private Integer type;
    /**
     * 启用状态：true可用，false禁用
     */
    private Integer disable =1;

    //接收店铺对象
    private Shop shop;

    /*//接收登录时从ThreadLocal传来的用户id
    private Long user_id;*/


}
